<!-- index.html -->
<!DOCTYPE html>
<html>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<body>
<button type="button" onclick="callArkTS()">Click Me!</button>
<button type="button" onclick="callArkTS2()">Click Me!</button>
<p id="demo"></p>
<script>
  function callArkTS() {
      let str = testObjName.test();
      document.getElementById("demo").innerHTML = str;
      console.info('ArkTS Hello World! :' + str);
  }
     function callArkTS2() {
      let str = testObjName.test2();
      document.getElementById("demo").innerHTML = str;

  }
</script>
</body>
</html>